package com.lt.test.provider.mapper;

import com.lt.test.entity.DO.User;

import java.util.List;
import java.util.Map;


public interface SupplierMapper {
    List query(Map parameter);
    int createKtSupplier(Map parameter);
    int updateKtSupplier(Map parameter);
    int save(Map parameter);
    int deleteKtSupplier(String id);
    Map findById(String id);
    int batch(List values);
    int batchUpdate(List values);
    int batchDelete(List values);

    Map<String,Object> getSupplierListSize(String supplierName, String helpCode);

    int getSupplierListSize(Map parameter);

    List<Map<String,Object>> getSupplierListByPage(String supplierName, String helpCode, Long beginNum, Long endNum);

    List<Map<String,Object>> getSupplierListByPage(Map parameter);

}
